package com.gztms.blogmgnt.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Zoey
 * @date 2023/5/1 16:15
 * @Description TODO
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogVO {
    private Integer bid;
    private String title;
    private String cover;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    private Integer likeSum;
    private Integer favSum;
    private Integer viewCount;
    private Integer status;
    private Integer type;
    private String createdBy;
    private String username;
    private String typeName;
    private Integer reviewStatus;
    private String avatar;

}
